package org.jxht.dto;

import org.jxht.util.BaseDto;

/**
 * Created by huang on 2017/3/2 0002.
 */
public class CourseDto extends BaseDto{

    private int couId = 0;

    private String couName;

    private int couCredit;

    private String couProperty;

    public CourseDto() {
    }

    public CourseDto(int couId) {
        this.couId = couId;
    }

    public CourseDto(int couId, String couName, int couCredit, String couProperty) {
        this.couId = couId;
        this.couName = couName;
        this.couCredit = couCredit;
        this.couProperty = couProperty;
    }

    public int getCouId() {
        return couId;
    }

    public void setCouId(int couId) {
        this.couId = couId;
    }

    public String getCouName() {
        return couName;
    }

    public void setCouName(String couName) {
        this.couName = couName;
    }

    public int getCouCredit() {
        return couCredit;
    }

    public void setCouCredit(int couCredit) {
        this.couCredit = couCredit;
    }

    public String getCouProperty() {
        return couProperty;
    }

    public void setCouProperty(String couProperty) {
        this.couProperty = couProperty;
    }

    @Override
    public String toString() {
        return "CourseDto{" +
                "couId=" + couId +
                ", couName='" + couName + '\'' +
                ", couCredit=" + couCredit +
                ", couProperty='" + couProperty + '\'' +
                '}';
    }
}
